﻿namespace MobileTrack.Web
{
    using System;
    using System.Diagnostics.CodeAnalysis;
    using System.Web.Mvc;

    [ExcludeFromCodeCoverage]
    public static class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            if (filters == null)
            {
                throw new ArgumentNullException("filters");
            }

            filters.Add(new HandleErrorAttribute());
        }
    }
}